package com.im.project.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 用户登录的对象参数
 *
 * @author yunZhouJiaDi
 */
@Data
public class LoginDto {

    @NotEmpty(message = "账号不能为空")
    @ApiModelProperty("账号")
    private String email;

    @NotEmpty(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String password;

    @NotEmpty(message = "uuid不能为空")
    @ApiModelProperty("uuid")
    private String uuid;

    @NotEmpty(message = "验证码不能为空")
    @ApiModelProperty("验证码")
    private String image;
}
